[Refactor] Phaseout PassConfig kDisableDynamicTailSplit and kDynamicAlignment as they are legacy#1486
Conversation
* Deleted the dynamic shape example script `example_dynamic.py` and its corresponding test file `test_example_dynamic.py` to streamline the codebase. * Removed unused dynamic tail split and dynamic alignment configurations from `builtin.h` and `pass_config.py`. * Cleaned up the dynamic shape testing files to eliminate redundancy and improve maintainability.
|
👋 Hi! Thank you for contributing to the TileLang project. Please remember to run We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀 |
WalkthroughThe PR removes dynamic shape handling infrastructure and related test/example code. Changes include deletion of example programs, test modules for dynamic symbolic operations, and removal of associated pass configuration options from both C++ and Python layers. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
💤 Files with no reviewable changes (7)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This pull request removes support for two dynamic shape-related pass configuration options:
tl.disable_dynamic_tail_splitandtl.dynamic_alignment. The changes clean up the codebase by eliminating references to these options from both the Python and C++ code, as well as removing the associated dynamic shape example and its test.Key removals:
Dynamic shape pass config options:
TL_DYNAMIC_ALIGNMENTandTL_DISABLE_DYNAMIC_TAIL_SPLITfrom thePassConfigKeyenum intilelang/transform/pass_config.py, along with their documentation.kDynamicAlignmentandkDisableDynamicTailSplitfromsrc/op/builtin.h. [1] [2]Examples and tests:
examples/dynamic_shape/example_dynamic.pyfile, which included a dynamic shape matmul kernel and runner.examples/dynamic_shape/test_example_dynamic.py.Summary by CodeRabbit
Tests
Chores
✏️ Tip: You can customize this high-level summary in your review settings.